﻿using LuShanTea.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.IService
{
    public interface IProvinceService : IServiceSupport
    {
        long AddNew(string name);

        void Update(long provinceId, string name);

        void MarkDeleted(long provinceId);

        ProvinceDTO[] GetAll();

        ProvinceDTO GetById(long provinceId);

        ProvinceDTO GetByName(string provinceName);
    }
}
